package site.anxuan.seckill.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import site.anxuan.seckill.entity.ItemStockLog;

@Mapper
@Repository
public interface ItemStockLogDao {

    int insert(String id, int itemId, int amount, int status);

    int updateStatus(String id, int status);

    ItemStockLog getById(String id);

}
